<?php
	include('connection.php');
	session_start();
	$sql = "delete from shopcar where userid = {$_SESSION['userid']}";
	$result = mysqli_query($connection,$sql);
	echo "<script language=\"JavaScript\">\r\n";
	echo " alert(\"下单成功 \");\r\n";
	echo " history.back();\r\n";
	echo "</script>";
	exit;
?>